color-button: Notify "color" and "alpha" properties when changing the rgba
authorChristian Persch <chpe@gnome.org>
Mon, 21 Nov 2011 13:19:51 +0000 (14:19 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Nov 2011 23:19:48 +0000 (18:19 -0500)
Bug #664469.

gtk/gtkcolorbutton.c

index 5f13c54606711b76cd4406318863bd87f19fa886..7494565dccd20ffaf90d46b9b19cbc5ae29bf2b5 100644 (file)
@@ -791,6 +791,8 @@ gtk_color_button_set_rgba (GtkColorButton *color_button,
 
   gtk_widget_queue_draw (color_button->priv->draw_area);
 
+  g_object_notify (G_OBJECT (color_button), "color");
+  g_object_notify (G_OBJECT (color_button), "alpha");
   g_object_notify (G_OBJECT (color_button), "rgba");
 }